var config={
    //web
    web:{
        port:20036,
        domain:"wss.hhdata.cn",
        https:{
            enable:true ,
            keyFn:"D:/gitee/hhudev/svr/keys/4195813_wss.hhdata.cn.key",
            certFn:"D:/gitee/hhudev/svr/keys/4195813_wss.hhdata.cn.pem"
        }
    },
    webStatics:{
        "/":"D:/gitee/vsport/vsport/web"
    },
    db:{
        msApps:{
            rtcChannel: {
                dbInfo: {
                    server: 'video.xmgkfw.cn',
                    user: 'sa',
                    password: 'ABCabc123',
                    //database    : 'rtcChannel',
                    database: 'rtcChannel',
                    port: 8201,
                    options: {
                        encrypt: true //使用windows azure，需要设置次配置。
                    },
                    pool: {
                        min: 0,
                        idleTimeoutMillis: 3000
                    }
                },
                sqlPath: "D:/gitee/hhudev/svr/datas/sqls"
            },
            directing: {
                dbInfo: {
                    server: 'video.xmgkfw.cn',
                    user: 'sa',
                    password: 'ABCabc123',
                    //database    : 'rtcChannel',
                    database: 'rtcChannel',
                    port: 8201,
                    options: {
                        encrypt: true //使用windows azure，需要设置次配置。
                    },
                    pool: {
                        min: 0,
                        idleTimeoutMillis: 3000
                    }
                },
                sqlPath: "D:/gitee/hhudev/svr/datas/sqls"
            }
        } ,
        mysqlApps:{
            kms:{
                host:"tjiot.hhdata.cn" ,
                port:53306,
                uid:"root",
                pwd:"hhuc1115",
                db:"kmsv10" ,
                sqlPath:"E:/app/kmsdev/dev/svr/sqls"
            },
            hhRemoteAssist:{
                host:"tjiot.hhdata.cn" ,
                port:53306,
                uid:"root",
                pwd:"hhuc1115",
                db:"hhRemoteAssist" ,
                sqlPath:"E:/app/kmsdev/dev/svr/sqls"
            },
            telemedicine:{
                host:"tjiot.hhdata.cn" ,
                port:53306,
                uid:"root",
                pwd:"hhuc1115",
                db:"telemedicine" , 
                sqlPath:"D:/gitee/hhudev/web/apps/telmedicine/sqls"
            },
            tm:{
                host:"tjiot.hhdata.cn" ,
                port:53306,
                uid:"root",
                pwd:"hhuc1115",
                db:"telemedicine" , 
                sqlPath:"D:/gitee/hhudev/web/apps/tm/sqls"
            }
        } 
    },
    kms:{
        db:{
            dbKey:"kmsManageV201001",
            dbInfo:{
                host:"tjiot.hhdata.cn" ,
                port:53306,
                uid:"root",
                pwd:"hhuc1115",
                db:"kms202101" ,
                sqlPath:"E:/app/kmsdev/dev/svr/sqls"
            }
        },
        kms:{
            kmsUrl : "wss://wss.hhdata.cn:8433/kurento"
        }
    },
    hhKms:{
        db:{
            dbKey:"kmsManageV201001",
            dbInfo:{
                host:"tjiot.hhdata.cn" ,
                port:53306,
                uid:"root",
                pwd:"hhuc1115",
                db:"kms202101" ,
                sqlPath:"E:/app/kmsdev/dev/svr/sqls"
            }
        },
        kms:{
            //kmsUrl : "wss://wss.hhdata.cn:8433/kurento" ,
            kmsUrl : "wss://ssl.hhdata.cn:40014/kurento" ,
            
            connectTimeout : 3*60*1000
        }
    },
    rtcChannel:{
        dbKey:'telemedicine',
        dbInfo:{
            host:"tjiot.hhdata.cn" ,
            port:53306,
            uid:"root",
            pwd:"hhuc1115",
            db:"telemedicine" ,
            sqlPath:""
        }
    },
    teleMedicineHandler:{
        dbKey:'telemedicine',
        dbInfo:{
            host:"tjiot.hhdata.cn" ,
            port:53306,
            uid:"root",
            pwd:"hhuc1115",
            db:"telemedicine" ,
            sqlPath:""
        },
        kmsUrl:"wss://ssl.hhdata.cn:40014/kurento"
    },
    hhKmsV2 : {
        dbKey:'telemedicine',
        dbInfo:{
            host:"tjiot.hhdata.cn" ,
            port:53306,
            uid:"root",
            pwd:"hhuc1115",
            db:"telemedicine" , 
            sqlPath:"D:/gitee/hhudev/web/apps/tm/sqls"
        },
        //kmsUrl:"wss://ssl.hhdata.cn:40014/kurento" ,
        kmsUrl:"wss://wss.hhdata.cn:8433/kurento" ,
        appPipeName :"hhAppPipe"
    } 
}


module.exports={
    config:config
}